<%@ include file="/static/common/taglibs.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>

    <c:forEach items="${rings}" var="ring">
        <dl>
            <a href="${ctx}/ring/detail/${ring.id}">
                <dt><img src="${ctx}/ring/getImage?photo=${ring.photo}" width="200px" height="183px"/></dt>
                <dd>
                    <p>编 号：${ring.no}</p>
                    <c:choose>
                        <c:when test="${cUser.type==2}">
                            <p>会员价：<b>￥${ring.secondPrice}</b></p>
                        </c:when>
                        <c:otherwise>
                            <p>会员价：<b>￥${ring.price}</b></p>
                        </c:otherwise>
                    </c:choose>

                </dd>
            </a>

        </dl>
    </c:forEach>


